package learn.baidu;

import cn.hutool.core.lang.Console;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Created By  醉美柳舞之众星捧月
 *
 * @author 宋贤坤
 * @date 2019/5/10 11:04
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OnlyWord implements Serializable {

    private String word;
    private String word_name;
    private Integer id;
    private Boolean display;
    private Boolean veryHandsome;

    /**
     * 布尔值的属性命名,不要用is作为前缀
     **/

    public void pinJie() {
        Console.error(word + "___" + word_name);
    }
}
